<?php

namespace app\api\validate;

use think\Validate;

class Page extends Validate
{
    protected $rule = [
        'page' => 'require|number',
        'size' => 'require|number'
    ];
}